package com.ants.boot;

import com.ants.boot.utils.pdf.PdfUtils;
import org.mybatis.spring.annotation.MapperScan;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import java.util.TimeZone;

/**
 * 
 * @author 蚂蚁会花呗
 * 程序启动入口
 */
@SpringBootApplication
@MapperScan({"com.ants.boot.**.dao"})
@EnableAspectJAutoProxy
public class ApplicationEntrance {
	private static final Logger logger = LoggerFactory.getLogger(ApplicationEntrance.class);
	public static void main(String[] args) {
		logger.info("******************");
		TimeZone.setDefault(TimeZone.getTimeZone("Asia/Shanghai"));
		SpringApplication.run(ApplicationEntrance.class, args);
	}
}
